Skip to content

NXT-15800: Added react-is dependency#385

Open
daniel-stoian-lgp wants to merge 3 commits into
developfrom
feature/NXT-15800
Open

NXT-15800: Added react-is dependency#385
daniel-stoian-lgp wants to merge 3 commits into
developfrom
feature/NXT-15800

Conversation

@daniel-stoian-lgp

@daniel-stoian-lgp daniel-stoian-lgp commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • I have read and understand the contribution guide
  • A CHANGELOG entry is included
  • At least one test case is included for this feature or bug fix
  • Documentation was added or is not needed
  • This is an API breaking change

Issue Resolved / Feature Added

Unit tests for enact apps would fail if they do use prop-types and React19. The reason is prop-types using internall react-is 16.x

Resolution

Added react-is as a dependency of enact/cli and added moduleNameMapper in the jest config, so jest tests would resolve react-is dependency to the installed version in enact/cli

Additional Considerations

Links

NXT-15800

Comments

Enact-DCO-1.0-Signed-off-by: Daniel Stoian (daniel.stoian@lgepartner.com)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant